package com.javaerschool.lero;

import com.github.pagehelper.PageHelper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.Properties;

@SpringBootApplication//包含@Configuration&@EnableAutoConfiguration&@ComponentScan
@EnableTransactionManagement //开启事务管理
public class LeroApplication {

	public static void main(String[] args) {
		SpringApplication.run(LeroApplication.class, args);
	}


}
